import {defineStore} from 'pinia'
import {ref} from 'vue'

export const useMenuStore = defineStore('menu',()=>{
    const menuWidth = ref("300px")
    function handleMenuWidth() {
        menuWidth.value = menuWidth.value == '300px' ? '64px' : '300px'
    }
    return {menuWidth,handleMenuWidth}
},
{
    persist:true
}
)
